{"version":3,"sources":["common.js"],"names":["window","debug_mode","_alert","str","alert","GLOBAL_pMainObj","ar_EVENTS","ar_PROP_ELEMENTS","ar_BXButtonS","ar_BXTaskbarSetS","ar_BXToolbarS","ar_BXTaskbarS","ar_CustomElementS","ar_BXPropertiesTaskbarS","ar_EVENTS_DE","as_arComp2Params","as_arComp2Groups","as_arComp2Templates","as_arComp2TemplParams","arComp2ParamsGroups","arComp2Tooltips","pPropertybarHandlers","arUnParsers","arContentUnParsers","arNodeUnParsers","arEditorFastDialogs","arToolbarSettings_default","manage","show","docked","position","standart","style","formating","source","template","arTaskbarSettings_default","BXPropertiesTaskbar","set","active","BXComponents2Taskbar","arTaskbarSettings","arTBSetsSettings_default","2","size","3","arComp2PropGroups","arComponents2","arComponents2Length","BXSearchInd","ar","wf","length","i","l","toString","String","prototype","trim","r","re","this","replace","BXCreateElement","sTagname","arParams","arStyles","pDocument","pEl","createElement","sParamName","substring","setAttribute","GAttr","pElement","attr","BX","browser","IsIE","v","getAttribute","SAttr","val","removeAttribute","_BXStyleParser","Create","pFrame","document","body","appendChild","src","className","frameBorder","scrolling","unselectable","zIndex","left","top","contentDocument","contentWindow","write","close","Parse","strStyles","styleSheets","cssText","getElementsByTagName","innerHTML","e","arAllSt","rules","cssTag","arTags","j","k","result","t1","t2","l1","x1","cssRules","l2","type","STYLE_RULE","selectorText","split","l3","substr","toUpperCase","push","original","BXStyleParser","_BXPopupWindow","bCreated","create","props","ZIndexManager","register","open","margin","padding","borderWidth","backgroundColor","overflow","Hide","name","bShowed","display","GetDocument","Show","Params","bringToFront","cleanNode","node","width","height","pDiv","offsetWidth","offsetHeight","CreateElement","CreateCustomElement","sTagName","ob","pMainObj","_Create","SetCurStyles","_this","indexOf","SetStyles","bClean","cur","parentNode","removeChild","xStyle","createTextNode","BXPopupWindow","addEvent","el","evname","func","p","addEvent1","addEventListener","addAdvEvent","attachEvent","removeAdvEvent","removeEventListener","detachEvent","removeEvent","BXCustomElementEvents","addCustomElementEvent","elEvent","sEventName","oEventHandler","oHandlerParent","w","__eventHandlers","OnCustomElementEvent","event","arHandlers","call","delCustomElementEvent","arEvents","arNewEvents","BXElementEqual","pElement1","pElement2","nodeType","tagName","id","offsetLeft","offsetTop","clientHeight","clientWidth","BXFindParentElement","arr1","arr2","min","diff1","diff2","getRealMousePos","bEditorFrame","pageX","pageY","realX","realY","clientX","clientY","documentElement","scrollLeft","clientLeft","scrollTop","clientTop","arFramePos","CACHE_DISPATCHER","pos","pEditorFrame","bFullscreen","IEplusDoctype","IsDoctype","pEditorDocument","GetRealPos","offsetParent","res","objParent","right","bottom","BXAlignToPos","dir_rtl","oW","GetWindowInnerSize","innerWidth","dw","innerHeight","dh","GetDisplStr","status","bxhtmlspecialchars","bxhtmlunspecialchars","BXEventDispatcher","arEditorHandlers","arEditors","OnEvent","pDoc","pEditorWindow","pBXEventDispatcher","arHLen","target","targetElement","srcElement","AddHandler","eventName","pEventHandler","pObject","SetEvents","name_cur_obj","__Add","SetCursor","sCursor","cursor","AddEditorHandler","OnEditorEvent","BXLoadJSFiles","arJs","oCallBack","bFullPath","load_js","ind","apply","obj","oSript","onreadystatechange","readyState","onload","setTimeout","BXPreloader","arSteps","oFinalCallback","Length","curInd","finalLoaded","LoadStep","o","params","AddStep","oStep","RemoveStep","BXContextMenu","pref","oDiv","visibility","menu","PopupMenu","dxShadow","oPos","oPrevRange","BXGetSelectionRange","PopupHide","FetchAndBuildItems","BXContextMenuOnclick","isNaN","parseInt","firstChild","h","PopupShow","dxShadowImgPath","pElementTemp","arMenuItems","el_params","arUsed","strPath","strPath1","bxTag","bxtagname","arAttributes","GetBxTag","tag","arCMButtons","GetSelectionObject","contTbl","menu_id","rows","deleteRow","BuildItems","parentName","n","__this","arSubMenu","subgroup_parent_id","current_opened_id","_hide","cs","_over","t","nextSibling","_refresh","row","insertRow","cell","insertCell","isgroup","c","title","oTable","childNodes","_LOCAL_CACHE","elements","onmouseover","_oSubMenuDiv","oSubMenuDiv","cellPadding","cellSpacing","onmouseout","_atr","iconkit","image_path","_innerHTML","bDisable","disablecheck","oBXContextMenu","handler","cmd","onclick","SetFocus","IsIE9","BXSelectRange","executeCommand","BXIsArrayAssoc","BXSerializeAttr","arAttr","new_ob","sAttrName","BXSerialize","BXUnSerializeAttr","sOb","BXUnSerialize","vd","key","Array","join","eval","BXPHPVal","escape","BXPHPValArray","BXEditorLoaded","arBXEditorObjects","BXEditorLoad","OnBeforeLoad","BXEditorRegister","BXFindParentByTagName","par","BXGetSelection","oDoc","oWin","oSel","getSelection","selection","oRange","createRange","getRangeAt","BXClearSelection","removeAllRanges","addRange","select","preventselect","empty","__BXSetOptionSelected","pOption","bSel","selected","BXEditorUtils","PHPParser","__PHPParser","addContentParser","arContentParsers","addDOMHandler","arDOMHandlers","addUnParser","addContentUnParser","addNodeUnParser","addCssLinkToFrame","href","frame","doc","addLinkToFrame","rel","fo","heads","ResetSelectionState","contentEditable","designMode","CancelEvent","PreventDefault","GetSelectionAnchor","anchorNode","x","parentElement","item","addTaskBar","taskbarClassName","iTaskbarSetPos","sTaskbarTitle","_sort","arBXTaskbars","undefined","sort","createToolbar","arButtons","defaultPosition","Math","random","appendButton","buttonName","oButton","oBXEditorUtils","createButton","addToolbar","arToolbar","arToolbars","arButton","toolbarName","addPropertyBarHandler","tagname","ConvertArray2Post","arr","arName","s","util","urlencode","BXReplaceSpaceByNbsp","setCheckbox","oCheckbox","mode","YNmode","value","checked","defaultChecked","copyObj","compareObj","obj1","obj2","JS_addslashes","JS_stripslashes","str_pad_left","input","pad_length","pad_string","buffer","padi","z","BXCutNode","pNode","insertBefore","CheckChilds","child"],"mappings":"AAAA,IAAKA,OAAOC,WACXA,WAAa,MACd,SAASC,OAAOC,GAAM,GAAIF,WAAYG,MAAM,mDAAmDD,GAE/FE,mBACA,IAAIC,aAEJ,IAAIC,oBACJ,IAAIC,gBACJ,IAAIC,oBACJ,IAAIC,iBACJ,IAAIC,iBACJ,IAAIC,qBACJ,IAAIC,2BACJ,IAAIC,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